Update cpufreq statistic protection
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 21 Oct 2008 08:48:56 +0000 (09:48 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 21 Oct 2008 08:48:56 +0000 (09:48 +0100)
commit68202b8b7b88e8cf04e3045f17ddcf1a1e5b2a1e
tree1659dc91b13be0e737154526b2b9ca592ae6ae51
parent729577228a17d512bbb95b34452aa0f65c5004f4
Update cpufreq statistic protection

For struct pm_px, there are 3 pointer: pxpt, pt, trans_pt.
Partly free pointer 'pt' and 'trans_pt' will result in little memory
leak, and what is more, will result in protection issue when user
access px statistic info through libxc.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
xen/drivers/cpufreq/utility.c